package gizwits.purification;

public class Test {

	private static final String url = "http://localhost/api/test";
	public static void main(String[] args) {
		String testsplit = "123123";
		System.out.println(testsplit.split("_").length);









/*		Map<String,Object> params = new HashMap<String,Object>();
//		params.put("data", "{\"cmd\":\"enterprise_event_push\",\"delivery_id\":84,\"did\":\"tvf42Ayw4SkJj9TgczcJ5x\",\"mac\":\"869267017892717\",\"event_type\":\"attr_alert\",\"event_id\":\"5859077eb47ab40001d083e5\",\"created_at\":1.48222963029800009727e+09,\"group_id\":null,\"data\":{\"attr_displayname\":\"alarm_5\",\"attr_name\":\"alarm_5\",\"value\":1},\"product_key\":\"813e7e10da864eab9968b4415e1b794b\"}");
//		HttpKit.post(url, params);
		//System.out.println(JSONObject.parse("[{\"aa\":\"bb\",\"cc\":\"dd\"}]"));
		System.out.println(JSONObject.parseArray("[{}]").size());
		params.put("aa", "dd");
		Object o = "ada";
		System.out.println(params.get(o));

//		System.out.println(JSONObject.parseObject("{\"unlock\": \"mode\"}").get("sss"));
//
//		BigDecimal b1 = new BigDecimal(11l/3f);
//		System.out.println(b1.setScale(2, BigDecimal.ROUND_HALF_UP));
//		System.out.println(b1);


		StringBuffer messageBuffer = new StringBuffer();
		String mess = messageBuffer.toString();
		System.out.println(mess.length());*/
	}

}
